import Storage from "@/uitl/Storagehandle"; //sessionStorage的操作

export default {
  namespaced: true, //命名空间
  state: {
    TeacherInfo: Storage.getItem("TeacherInfo") || {},
  },
  getters: {},
  mutations: {
    setTeacherInfo(state,data){
      Storage.setItem(`TeacherInfo`, data);
      state.TeacherInfo=data;
    }
  },
  actions: {},
  modules: {},
};
